package it.com.cci.observer_pattern;

/**
 * @author Lefnmg
 * @Description:
 * @date 2018/3/25
 */
public class ObserverTest {

    public static void main(String[] args) {
        WeatherDataSubject weatherDataSubject = new WeatherDataSubject();
        Observer currentConditionsDisplay = new CurrentConditionsDisplay(weatherDataSubject);
        weatherDataSubject.setMeasurements(80f,65f,30.4f);
    }
}
